#pragma once

#include "boost/date_time/posix_time/posix_time.hpp"

#include <Windows.h>


class Timer
{
public:
	Timer(UINT32 max_msecs);
	bool is_time_up();
	UINT32 fraction_of_time_passed();
private:
	boost::posix_time::ptime _original_time;
	UINT32 _max_msecs;
};